
package cn.rengy.auth.realm;


import cn.rengy.auth.Authentication;
import cn.rengy.auth.AuthenToken;
import cn.rengy.auth.exception.AuthException;

public interface Realm {


    String getName();


    boolean supports(AuthenToken token);


    Authentication getAuthenticationInfo(AuthenToken token) throws AuthException;

}
